package com.example.t410.mapper;

import com.example.t410.DTO.SportDTO;
import com.example.t410.VO.SportVO;
import com.example.t410.VO.SportVideoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SportMapper {
    /**
     * 运动查询
     * @param sportDTO
     * @return
     */
    List<SportVO> select(SportDTO sportDTO);

//    @Select("select * from sport where id=#{id};")
    SportVideoVO selectById(Long id);
}
